# author by LuoQian
# 2022/3/11 16:27
# 2、做一个超市购物判断：100-1000-95，1001-3000-9，3001-5000-8
# 5000-6

money = int(input("请输入你购买的金额"))
if 100 <= money <= 1000:
    print("您的折后金额为：",money * 0.95)
elif 1001 < money <=3000:
    print("您的折后金额为：",money * 0.9)
elif 3001 < money <=5000:
    print("您的折后金额为：",money * 0.8)
elif money > 5000:
    print("您的折后金额为",money * 0.6)
else:
    print("您本次的商品价格为",money)
